package com.whd.service;

import com.github.pagehelper.PageInfo;
import com.whd.entity.Emp;

import java.text.ParseException;
import java.util.Map;

/**
 * @author whd
 * @date 2023/07/01 10:46:28
 */
public interface EmpService {
    PageInfo<Emp> findALl(Integer pageNum, Integer pageSize);
    PageInfo<Emp> findByOther(Map<String,Object> map) throws ParseException;

    int save(Emp emp);

    int update(Emp emp);

    int delete(Integer id);
}
